<template>
  <div>
    <div class="fws">
      <div class="img">
        <img :src="fwsInfo.avatar" alt="">
      </div>
      <h4>{{fwsInfo.me_name}}</h4>
      <div class="jdhp">
        <span>已成功接单{{fwsInfo.zxl}}</span>
        <span>好评{{fwsInfo.hp}}</span>
      </div>
      
    </div>
  </div>
</template>

<script setup lang="ts">
import fwsList from '@/types/fws'
interface propp{
  fwsInfo:fwsList
}
const props = defineProps<propp>()
</script>

<style scoped lang="scss">
.fws{
  width: 200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #E5E5E5;
  cursor: pointer;
  .img{
    img{
      width: 70px;
      margin: 30px 0 10px 0;
    }
  }
  .jdhp{
    font-size: 14px;
    color: #929292;
    margin: 20px 0 15px 0;
    span{
      display: inline-block;
      &:nth-child(2){
        padding-left: 20px;
      }
    }
  }

}
</style>